package com.smart.community.community;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import com.smart.community.community.config.CommunityFeignConfig;

/**
 * 社区服务启动类
 * @author smart-community
 */
@SpringBootApplication(scanBasePackages = {"com.smart.community.community", "com.smart.community.commons"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.smart.community.feign", defaultConfiguration = CommunityFeignConfig.class)
public class CommunityApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(CommunityApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  社区服务启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
